<template>
  <div>
    <button @click="deleteaas">我是弹出框</button>
  </div>
</template>

<script>
export default {
  methods: {
    deleteaas() {
      this.$confirm({
        title: "亲爱的",
        mesg: "您确定不再关注该客户吗？",
        // cntMsg: '<div class="helAA">你好</div>',
        // cancelValStyle: { color: "#409eff" },
        btn: {
          confirmVal: "确定",
          cancelVal: "cancel"
        }
      })
        .then(res => {
          console.log("yes", res);
          alert("已取消")
          //点击确定之后的处理
        })
        .catch(err => {
          console.log("no", err);
          alert("已确定")
        });
    }
  }
};
</script>

<style lang="scss" scoped></style>
